<?php

declare(strict_types=1);

namespace App\CustHub\Model;

use Mine\MineModel;

/**
 * @property int $id 
 * @property int $uid 客服ID
 * @property string $name 链接名称
 * @property string $url 链接url
 * @property string $desc 描述
 * @property string $icon 图标
 * @property \Carbon\Carbon $created_at 
 * @property \Carbon\Carbon $updated_at 
 */
class ChTalkUrl extends MineModel
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'ch_talk_url';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'uid', 'name', 'url', 'desc', 'icon', 'created_at', 'updated_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'uid' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
}
